home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-08-27 | 1.6 KB | 72 lines | [TEXT/ttxt] |
- ResolveFileAlias
- ----------------
- procedure ResolveFileAlias;
- void ResolveFileAlias (void);
-
- If the file specification is an alias, resolve it.
-
- OPEN AND CLOSE METHODS
- =======================
-
- Open
- ----
- procedure Open (permission: SignedByte);
- void Open (SignedByte permission);
-
- Open the file with the specified permission. This method does nothing.
- Subclasses must override this method. For an example of how to write an Open
- method, see CDataFile and other descendants of this class.
-
- Close
- -----
- procedure Close;
- void Close (void);
-
- Close this file. This method does nothing. Subclasses must override this
- method.
-
- ACCESSING METHODS
- =================
-
- GetName
- -------
- procedure GetName (var theName: Str63);
- void GetName (Str63 theName);
-
- Get the name of the file.
-
- GetFSSpec
- ---------
- procedure GetFSSpec (var aFileSpec: FSSpec);
- void GetFSSpec (FSSpec *aFileSpec);
-
- Get an FSSpec record for this file.
-
- ExistsOnDisk
- ------------
- function ExistsOnDisk: Boolean;
- Boolean ExistsOnDisk (void);
-
- Returns TRUE if there’s an existing file that matches the current
- specification.
-
- GetMacFileInfo
- --------------
- procedure GetMacFileInfo (var fileInfo: FInfo)
- void GetMacFileInfo (FInfo *fileInfo);
-
- Return the Finder information for this file. The information includes the
- file’s type, creator, and icon position.
-
- FILING METHODS
- ==============
-
- CreateNew
- ---------
- procedure CreateNew (creator, fType: OSType);
- void CreateNew (OSType creator, OSType fType);
-
- Create new file with the specified creator and file type. This method uses the
- name and volume information you set up with one of the specification methods.
- You can use the application signature in gSignature for the creator.
-